DEMO: Now that you have your random number, you're ready to make an image label for the dice.

Remember, an image label is a "string" and is used to change the image of our sprite.

  • In this demo, you'll learn how to use the str() command and add two strings together!
  • Click Run to see how to go about it and follow the instructions on the stage.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)